package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.Objects;

public class JsCourseRecord {
    private Integer id;         //主键id
    private Integer courseId;   //视频id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date applyDate;     //发起时间
    private String launchId;    //发起人
    private Integer implementId; //执行人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String implementDate; //执行时间
    private String result;      //结果，1为审核通过，2为待审核，3驳回

    private String remarks;     //备注
    private Integer type;       //类型 2.视频，3商品

    private String mainImage;   //图片
    private Integer currentpriceProduct; //现价
    private String title;               //商品分类名称
    private String trueName;            //上传人员
    private String productName;     //商品分类名称
    private Integer productCode;
    private Integer productId;

    private String artcleUrl;//文章图片url路径
    private String artcleTitle;//文章标题
    private String artcleCategroyName;//文章分类名称

    private Integer microcircleId;//微圈id

    public Integer getMicrocircleId() {
        return microcircleId;
    }

    public void setMicrocircleId(Integer microcircleId) {
        this.microcircleId = microcircleId;
    }

    public JsCourseRecord() {
        super();
    }

    public JsCourseRecord(Integer id, Integer courseId, Date applyDate, String launchId, Integer implementId, String implementDate, String result, String remarks, Integer type, String mainImage, Integer currentpriceProduct, String title, String trueName, String productName, Integer productCode, Integer productId, String artcleUrl, String artcleTitle, String artcleCategroyName) {
        this.id = id;
        this.courseId = courseId;
        this.applyDate = applyDate;
        this.launchId = launchId;
        this.implementId = implementId;
        this.implementDate = implementDate;
        this.result = result;
        this.remarks = remarks;
        this.type = type;
        this.mainImage = mainImage;
        this.currentpriceProduct = currentpriceProduct;
        this.title = title;
        this.trueName = trueName;
        this.productName = productName;
        this.productCode = productCode;
        this.productId = productId;
        this.artcleUrl = artcleUrl;
        this.artcleTitle = artcleTitle;
        this.artcleCategroyName = artcleCategroyName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getLaunchId() {
        return launchId;
    }

    public void setLaunchId(String launchId) {
        this.launchId = launchId;
    }

    public Integer getImplementId() {
        return implementId;
    }

    public void setImplementId(Integer implementId) {
        this.implementId = implementId;
    }

    public String getImplementDate() {
        return implementDate;
    }

    public void setImplementDate(String implementDate) {
        this.implementDate = implementDate;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public Integer getCurrentpriceProduct() {
        return currentpriceProduct;
    }

    public void setCurrentpriceProduct(Integer currentpriceProduct) {
        this.currentpriceProduct = currentpriceProduct;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getProductCode() {
        return productCode;
    }

    public void setProductCode(Integer productCode) {
        this.productCode = productCode;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getArtcleUrl() {
        return artcleUrl;
    }

    public void setArtcleUrl(String artcleUrl) {
        this.artcleUrl = artcleUrl;
    }

    public String getArtcleTitle() {
        return artcleTitle;
    }

    public void setArtcleTitle(String artcleTitle) {
        this.artcleTitle = artcleTitle;
    }

    public String getArtcleCategroyName() {
        return artcleCategroyName;
    }

    public void setArtcleCategroyName(String artcleCategroyName) {
        this.artcleCategroyName = artcleCategroyName;
    }

    @Override
    public String toString() {
        return "JsCourseRecord{" +
                "id=" + id +
                ", courseId=" + courseId +
                ", applyDate=" + applyDate +
                ", launchId='" + launchId + '\'' +
                ", implementId=" + implementId +
                ", implementDate='" + implementDate + '\'' +
                ", result='" + result + '\'' +
                ", remarks='" + remarks + '\'' +
                ", type=" + type +
                ", mainImage='" + mainImage + '\'' +
                ", currentpriceProduct=" + currentpriceProduct +
                ", title='" + title + '\'' +
                ", trueName='" + trueName + '\'' +
                ", productName='" + productName + '\'' +
                ", productCode=" + productCode +
                ", productId=" + productId +
                ", artcleUrl='" + artcleUrl + '\'' +
                ", artcleTitle='" + artcleTitle + '\'' +
                ", artcleCategroyName='" + artcleCategroyName + '\'' +
                '}';
    }
}
